home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gNumPlayers, gName3Sprite, gScore3Sprite, gVoiceChannel, gPathToSound, fileDelimiter
- if the keyPressed = RETURN then
- if the text of field "player name" <> EMPTY then
- sound playFile gVoiceChannel, gPathToSound & "signup" & fileDelimiter & "mock2.aif"
- Capitalize("player name")
- set the text of field "name2" to the text of field "player name"
- repeat while soundBusy(gVoiceChannel)
- end repeat
- if gNumPlayers > 2 then
- go(the frame + 1)
- else
- puppetSprite(gName3Sprite, 1)
- puppetSprite(gScore3Sprite, 1)
- go("Key Assign")
- end if
- end if
- end if
- go(the frame)
- end
-